<template>
	<div class="navBar_container">
		<tn-navbar height="32px" bg-color="transparent"> {{title}}
			<template #back>
				<tn-icon name="left" style="line-height: 32px;" @click="goBack"></tn-icon>
			</template>
		</tn-navbar>
	</div>
</template>

<script setup>
	import {
		ref,
		defineProps
	} from "vue"
	const props = defineProps({
		title: ""
	})
	const goBack = () => {
		uni.navigateBack()
	}
</script>

<style>
	.navBar_container {
		padding-top: 88rpx;
	}

	.tn-navbar {
		box-shadow: none !important;
	}
</style>